package com.woniuxy.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.woniuxy.entity.Shop;
import com.woniuxy.entity.User;
import com.woniuxy.entity.UserShop;
import com.woniuxy.mapper.UserMapper;
import com.woniuxy.mapper.UserShopMapper;
import com.woniuxy.service.UserService;
import com.woniuxy.service.UserShopService;
import com.woniuxy.utils.GUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserShopServiceImpl extends ServiceImpl<UserShopMapper, UserShop> implements UserShopService {
    @Autowired
    private UserShopMapper userShopMapper;

    @Override
    public int selShop(int userId, int shopId) {
        return userShopMapper.selShop(userId,shopId);
    }
}
